<?php

class Application_Model_DbTable_ExpressChannel extends Application_Model_DbTable_DomainObject{
    
    protected $_name = 'uuch_expressChannel';
    
    public function getMapper() {
        return array('id','name','expressId','sdkey','hlykey','dsfkey','key','code','expressUrl');
    }
    
     public static function getChannelOne($name) {
        $where[' name = '] = $name;
        $db = new Application_Model_DbTable_ExpressChannel();
        $result = $db->queryOne($where);
        return $result;
    }
}
